package calendar.messages;

import calendar.*;
import edu.gmu.middleware.Message;
import edu.gmu.streams.BlockInputStream;
import edu.gmu.streams.BlockOutputStream;
import java.io.IOException;

/* this class represents a calendar event */
public class UserResponse implements Message
{ 
  public User user;

  public UserResponse()
  {
    this.user = null;
  }


  public void marshal(BlockOutputStream stream) throws IOException
  {
    this.user.marshal(stream);
  }

  public void unmarshal(BlockInputStream stream) throws IOException
  {
    this.user = new User();
    user.unmarshal(stream);
  }
}
